Every person who sells any person or receives any money or other valuable thing for or on account of his or her placing in custody, for immoral purposes, any person, whether with or without his or her consent, is guilty of a felony punishable by imprisonment in the state prison for 16 months, or two or three years.