The county board of commissioners and the representatives of other counties, any municipality within the county, or any combination of them, may contract and enter into formal agreements with each other for joint animal control services and codes for the shared use of personnel, facilities, and equipment used in the provision of such services.