; (B) in subsection (b)— (i) by striking paragraph (22); (ii) by redesignating paragraphs (23), (24), (25), (26), (27), and (28) as paragraphs (22), (23), (24), (25), (26), and (27), respectively; (iii) in paragraph (22), as so redesignated, by striking subsection (m) and inserting subsection (l) ; (iv) in paragraph (26), as so redesignated, by striking and at the end; (v) in paragraph (27), as so redesignated, by striking the period and inserting ; and ; and (vi) by striking the matter following paragraph (27), as so redesignated and inserting the following: (28) under subsection (a), over retention of property of the estate subject to a potential loss of value due to accident, casualty, or theft unless the party entitled to possession provides proof of insurance or other security sufficient to protect the creditor against such loss of value. ; (C) in subsection (c)— (i) in the matter preceding paragraph (1), by striking (f), and (h) and inserting and (f) ; (ii) by striking paragraphs (2) and (3) and inserting the following: (2) in a case under chapter 7, 9, 11, or 12, the stay of any other act under subsection (a) of this section continues until the earliest of— (A) the time the case is closed; (B) the time the case is dismissed; or (C) if the case is a case under chapter 9, 11, or 12, the time a discharge is granted or denied; (3) in a case under chapter 10, the stay of any other act under subsection (a) of this section continues until the earliest of— (A) the time the case is closed; (B) the time the case is dismissed; or (C) the time specified in section 1021(e) has expired without the debtor having filed a plan; and ; and (iii) in subparagraph (A)(i) of paragraph (4), by striking dismissed, other than a case refiled under a chapter other than chapter 7 after dismissal under section 707(b), and inserting dismissed, ; (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)