Not exactly. Actually California Democrats decriminalized child prostitution for underaged teens, noting that they are victims. It is still illegal (even in California) for the adult 'John' or pimp who traffic or exploit child prostitutes. Still, this is still very bad legislation.
I concur that cases we have heard of out of control prosecutors going after teenagers for sex crimes like 'sexting' or for consensual sexual relations between hurts rather than protects these teens. Still, can't we use a little common sense and prosecutorial discretion? Prosecutors and police can use the criminal nature of prostitution to intervene quickly to save a child engaged in this activity. So why take that tool away from law enforcement and child protective services?
This is part of a growing trend to decriminalize prostitution generally. It seems dangerous to experiment on the absolutely most vulnerable. At best this law does nothing good and at worst it promotes child prostitution.
As the Daily Wire and National Review note, this legislation is not exactly lowering cases of child prostitution.
Mental Floss: 13 Grimy facts about Taxi Driver
Legal Insurrection: Did California Democrats really legalize child prostitution?
Wombat: Mark Steyn: Licence To Dye