(a) The occupation tax levied herein is for revenue purposes only and is not for regulatory purposes, nor is the payment of the tax made a condition precedent to the practice of any such profession, trade or calling. (b) Regulatory fees paid by businesses or practitioners are to defray cost for investigations or inspections of such businesses or practitioners as a protection to the public health, safety, or welfare, or in the course of enforcing a state or local building, health, or safety code.