A regulator is not liable in civil or criminal proceedings for or in relation to anything done or omitted to be done, in good faith, in the performance or exercise, or purported performance or exercise, of the regulator's functions or powers under regulations made for the purposes of section 11K.