Animal control may take all necessary steps to remove any animal locked in a closed vehicle if the animal is subject to danger of injury due to the temperature. The operator of the vehicle will be charged with cruelty to animals as defined in this chapter. No injunction or claim for damages may be placed against the animal control or its officers for this action.