A person who knowingly receives money or other valuable thing from the earnings of a person engaged in prostitution, is guilty of a class 5 felony.