(a) The provisions of sections eighteen-d and nineteen-a do not apply to a performer engaged in a professional exhibition or a person engaging in an officially sanctioned regatta, race, marine parade, tournament, exhibition, or water safety demonstration.
(b) The provisions of sections eighteen-d and nineteen-a do not apply to a person who holds a valid master's, mate's, or operator's license issued by the United States Coast Guard while performing his or her official duties.