The "So Much Fun" hitmaker's lyrics are expected to be used against him in court.