The Toxic hitmaker has found herself in legal trouble.