; and (B) by redesignating subsection (f) as subsection (e). (2) Technical amendments (A) Section 509(i)(3) of the Housing and Urban Development Act of 1970 ( 12 U.S.C. 1701z–8(i)(3) ) is amended by striking section 366 and inserting section 367 . (B) The matter under the heading energy conservation under the heading department of energy in title II of the Department of the Interior and Related Agencies Appropriations Act, 1985 ( 42 U.S.C. 6323a ) is amended by striking sections 361 through 366 and inserting sections 361 through 367 . (C) Section 367(3)(B)(i) of the Energy Policy and Conservation Act ( 42 U.S.C. 6326(3)(B)(i) ) (as redesignated by subsection (a)(1)) is amended by striking approved under section 367 . (D) Section 451(i)(3) of the Energy Conservation and Production Act ( 42 U.S.C. 6881(i)(3) ) is amended by striking section 366 and all that follows through the period at the end and inserting section 367 of the Energy Policy and Conservation Act. . (3) Table of contents The table of contents for part D of title III of the Energy Policy and Conservation Act ( Public Law 94–163 ; 89 Stat. 872; 92 Stat. 3272; 104 Stat. 1006) is amended by striking the item relating to section 366 and inserting the following: Sec. 366. State energy security plans. Sec. 367. Definitions. .