The duties of enforcing an ordinance adopted pursuant to this section shall be imposed by the county board upon the county sheriff’s department.