(a) A dog control officer or law enforcement officer shall immediately impound a dog if the officer believes the dog poses a threat to the public safety. (b) A dangerous or vicious dog shall be immediately confiscated by any dog control officer or by a law enforcement officer in the case of any violation of this article. A refusal to surrender a dog subject to confiscation shall be a violation of this article. (c) The owner of any dog that has been confiscated pursuant to this article may recover such dog upon payment of reasonable confiscation and housing costs and proof of compliance with the provisions of this article. Fees for confiscation of dangerous or vicious dogs shall be as provided in the county fee schedule. All fines and all charges for services performed by a law enforcement or dog control officer shall be paid prior to owner recovery of the dog. Criminal prosecution shall not be stayed due to owner recovery or euthanasia of the dog. (d) In the event the owner has not complied with the provisions of this article within 20 days of the date the dog was confiscated, such dog shall be destroyed in an expeditious and humane manner and the owner may be required to pay the costs of housing and euthanasia.