The singer was arrested on March 9 in Glendale after police said they found 13 bags of cocaine in her Gucci purse during a traffic stop.
Mejia will be required to attend classes for the next 18 months and undergo counseling.
The felony charge will be dismissed, if she completes the deferred judgment program.
The Associated Press contributed to this report.