The county marshal's office shall have the powers of arrest and the enforcement of all county ordinances and laws of the state and any and all powers as may be applicable in the course of carrying out their primary purpose as outlined in O.C.G.A. ยง 36-8-5, and as amended from time to time.