No provision of this law imposing any liability applies to any act done or omitted in good faith in conformity with any rule, form, permit, order, or written interpretive opinion of the commissioner, or any such opinion of the Attorney General, notwithstanding that the rule, form, permit, order, or written interpretive opinion may later be amended or rescinded or be determined by judicial or other authority to be invalid for any reason.