Meghan Trainor is speaking up on behalf of J.Lo. Immediately after Jennifer Lopez 's debuted her new single, "Ain't Your Mama" on last week's American Idol finale, the Internet picked up on the fact that the catchy pop song was co-produced by Dr. Luke , the write-producer who's been locked in a legal battle with Kesha since she sued him in 2014 for alleged sexual abuse. A source told us that Trainor wrote "Ain't Your Mama" and worked with Dr. Luke years ago?before Kesha filed her lawsuit.