California prostitution law under Penal Code 647(b) PC prohibits:
Engaging in the act of prostitution, and Offering or agreeing to engage in a sexual act (otherwise known as solicitation).
Prostitution, solicitation, and agreeing to engage in an act of prostitution under Penal Code 647(b) PC are all misdemeanor offenses. If convicted, the defendant faces up to six months and/or up to $1,000 in fines.
Prostitution / solicitation is a priorable offense, which means that the punishment increases with each subsequent offense.
If you are convicted for your second prostitution or solicitation offense, the judge can order a minimum of 45 days in a county jail. If you are convicted of a third prostitution or solicitation offense, the judge can order a minimum of 90 days in a county jail.
In addition to these penalties, if you committed the offense (1) while using a car, and (2) within 1,000 feet of a residence, the court may suspend your license for up to 30 days, or issue you a restricted license for up to six months.
If the judge grants you a restricted license, it allows you to drive to and from work or school. If driving is a necessary part of your employment, a restricted license also allows you to drive within the scope of your employment.
It is also important to note that if you commit one of the above offenses in Los Angeles while in your car, the government may seize and forfeit your vehicle in addition to the above penalties.