790.051 Exemption from licensing requirements; law enforcement officers.—Law enforcement officers are exempt from the licensing and penal provisions of this chapter when acting at any time within the scope or course of their official duties or when acting at any time in the line of or performance of duty.