The county or municipal animal shelter personnel or governmental animal control officers shall pick up and impound or quarantine any dog running at large or quarantining any cat. To obtain release of his dog or cat, an owner or keeper must satisfy the animal shelter personnel that the dog or cat is currently inoculated against rabies and also pay an impound or quarantine fee determined by the governing body of the county or municipality. Payment of this fee bars prosecution under § 47-3-50. All fees collected must be delivered to the county or municipal treasurer for deposit in the general fund of the county or municipality.