; (D) in subsection (e)(2), by striking chapter 7, 11, or 13 and inserting chapter 10 or 11 ; (E) by striking subsections (h) and (i); (F) by redesignating subsections (j) through (o) as subsections (h) through (m) respectively; (G) in subsection (i), as so redesignated— (i) by striking (1) Except as provided in paragraph (2), an and inserting An ; and (ii) by striking paragraph (2); and (H) by adding at the end the following: (n) Any agreement of the debtor entered into before the filing of the petition to waive the provisions of this section or any other provision of this title is void. . (2) Conforming amendments (A) Section 1519(f) of title 11, United States Code, is amended by striking section 362(o) and inserting section 362(m) . (B) Section 1521(f) of title 11, United States Code, is amended by striking section 362(o) and inserting section 362(m) . (v) Use, sale, or lease of property Section 363 of title 11, United States Code, is amended— (1) in subsection (c)(1) by striking section 721, 1108, 1183, 1184, 1203, 1204, or 1304 of this title and inserting section 721, 1003, 1108, 1183, 1184, 1203, or 1204 of this title ; and (2) in subsection (l) by striking under chapter 11, 12, or 13 of this title and inserting under chapter 10, 11, or 12 of this title . (w) Obtaining credit Section 364(a) of title 11, United States Code, is amended by striking section 721, 1108, 1183, 1184, 1203, 1204, or 1304 of this title, and inserting section 721, 1108, 1183, 1183, 1203, or 1204 of this title, . (x) Executory contracts and unexpired leases Section 365 of title 11, United States Code, is amended— (1) in subsection (d)(2), by striking under chapter 9, 11, 12, or 13 of this title and inserting under chapter 9, 10, 11, or 12 of this title ; (2) in subsection (g)— (A) in paragraph (1), by striking under chapter 9, 11, 12, or 13 of this title, and inserting under chapter 9, 10, 11, or 12 of this title,