; ; and (2) in paragraph (2), by striking the earlier of and all that follows through and (B) of and inserting the date referred to in . 122. Extension of prohibition on availability of funds for Navy port waterborne security barriers Section 130(a) of the John S. McCain National Defense Authorization Act for Fiscal Year 2019 ( Public Law 115–232 ; 132 Stat. 1665), as most recently amended by section 123(a) of the James M. Inhofe National Defense Authorization Act for Fiscal Year 2023 ( Public Law 117–263 ), is further amended by striking through 2023 and inserting through 2024 . 123. Multiyear procurement authority for Virginia class submarine program (a) Authority for multiyear procurement Subject to section 3501 of title 10, United States Code, the Secretary of the Navy may enter into one or more multiyear contracts for the procurement of 10 Virginia class submarines. (b) Authority for advance procurement and economic order quantity The Secretary of the Navy may enter into one or more contracts, beginning in fiscal year 2024, for advance procurement associated with the Virginia class submarines for which authorization to enter into a multiyear procurement contract is provided under subsection (a) and for equipment or subsystems associated with the Virginia class submarine program, including procurement of— (1) long lead time material