A city, county, or city and county or other enforcement agency charged with the administration and enforcement of the provisions of this part, is not liable for any injury which arises out of any act or omission of the city, county or city and county, or other enforcement agency, or a public employee or any other person under Section 17953, 17954, or 17955.