; and (2) In subsection (c)(1), by substituting September 30, 2020, for September 30, 2017 . (b) The Secretary of Homeland Security, under the authority of section 831 of the Homeland Security Act of 2002 ( 6 U.S.C. 391(a) ), may carry out prototype projects under section 2371b of title 10, United States Code, and the Secretary shall perform the functions of the Secretary of Defense as prescribed. (c) The Secretary of Homeland Security under section 831 of the Homeland Security Act of 2002 ( 6 U.S.C. 391(d) ) may use the definition of nontraditional government contractor as defined in section 2371b(e) of title 10, United States Code. 532. None of the funds made available by this Act may be used to prevent a Member of Congress from entering, for the purpose of conducting oversight, any facility operated by or for the Department of Homeland Security used to detain or otherwise house alien minors, or to make any temporary modification at any such facility that in any way alters what is observed by a visiting Member of Congress, compared to what would be observed in the absence of such modification. 533. (a) Except as provided in subsection (b), none of the funds made available in this Act may be used to place restraints on a woman in the custody of the Department of Homeland Security (including during transport, in a detention facility, or at an outside medical facility) who is pregnant or in post-delivery recuperation. (b) Subsection (a) shall not apply with respect to a pregnant woman if— (1) an appropriate official of the Department of Homeland Security makes an individualized determination that the woman— (A) is a serious flight risk, and such risk cannot be prevented by other means; or (B) poses an immediate and serious threat to harm herself or others that cannot be prevented by other means