A person commits the offense of pandering by compulsion when he or she by duress or coercion causes a person to perform an act of prostitution and, upon conviction thereof, shall be punished by imprisonment for not less than one nor more than ten years.