No provision imposing liability under this chapter, including the provisions of sections 909(a) and 910(a), apply to any act done or omitted in good faith in conformity with any written general rule, regulation, or specific ruling of the Board, notwithstanding that after the act or omission has occurred, the written general rule, regulation, or specific ruling is amended, rescinded, or determined by judicial or other authority to be invalid for any reason.