The sheriff, and his or her deputies, and any code enforcement officer of the county, is authorized to enforce the provisions of the Code.