(a) It shall be unlawful for any person to enter or remain in a house of prostitution for the purpose of hiring a prostitute to engage in an act of prostitution with himself or herself or with another person. (b) It shall be unlawful for any person to solicit, or attempt to solicit, another to engage in an act of prostitution with himself or herself or with another person.