(a) If the department notifies a bank of an examination, a department employee who, before the notification of the visitation, gives notice or information to any officer or agent or employee of a bank as to when a bank will be visited for examination commits a criminal offense.
(b) If the department does not notify a bank of an examination, a department employee who, before a visitation, gives notice or information to any officer or agent or employee of a bank as to when a bank will be visited for examination commits a criminal offense.
(c) A violation of this section is a Class C misdemeanor.