; and (B) notifies the whistleblower of such sharing before the sharing occurs; or (3) an attorney for the Federal Government— (A) determines that such sharing is necessary to advance an investigation by the attorney; and (B) notifies the whistleblower of such sharing before the sharing occurs. . (b) Technical and clerical amendments (1) Transfer The National Security Act of 1947 ( 50 U.S.C. 3001 et seq. ) is amended as follows: (A) Section 1104 ( 50 U.S.C. 3234 ) is— (i) transferred to title XII of such Act, as added by subsection (a); (ii) inserted before section 1202 of such Act, as added by such subsection; and (iii) redesignated as section 1201. (B) Section 1106 ( 50 U.S.C. 3236 ) is— (i) amended by striking section 1104 each place it appears and inserting section 1201 ; (ii) transferred to title XII of such Act, as added by subsection (a); (iii) inserted after section 1202 of such Act, as added by such subsection; and (iv) redesignated as section 1203. (2) Clerical amendments The table of sections at the beginning of the National Security Act of 1947 is amended— (A) by striking the items relating to section 1104 and section 1106