; or (C) a party to an agreement, irrespective of form, that is a security interest in personal property under applicable nonbankruptcy law; (5) provide for an order garnishing the earnings of the debtor or ordering the authorization of electronic fund transfers from a deposit account of the debtor during the duration of the property plan; and (6) include any other appropriate provision not inconsistent with this title. (d) Cure of default (1) Principal residence Notwithstanding any applicable nonbankruptcy law, a default with respect to, or that gives rise to, a lien on the property that is the debtor's principal residence may be cured by a residence plan under subsection (a)(2)(B) until the debtor ceases to have rights, including a right of redemption, in the property. (2) Amount to cure (A) In general Notwithstanding section 506(b), if a repayment plan, a residence plan, or a property plan provides for the curing of a default, the amount necessary to cure the default shall be determined in accordance with the underlying agreement and applicable nonbankruptcy law. (B) Prohibition The cure of a default under subparagraph (A) may not require— (i) interest on arrearages