Evidence that a victim of, or a witness to, a serious felony as defined in subdivision (c) of Section 1192.7 of, an assault in violation of subdivision (a) of Section 245 of, domestic violence in violation of Section 273.5 of, extortion in violation of Section 518 of, human trafficking in violation of Section 236.1 of, sexual battery in violation of subdivision (a) of Section 243.4 of, or stalking in violation of Section 646.9 of, the Penal Code, has engaged in an act of prostitution at or around the time they were the victim of or witness to the crime is inadmissible in a separate prosecution of that victim or witness to prove criminal liability for the act of prostitution.
Ca. Evid. Code § 1162