(a) Rent.--To the extent that a trustee accounts for receipts from rental property pursuant to this section, the trustee shall allocate to income an amount received as rent of real or personal property. This subsection includes an amount received for cancellation or renewal of a lease.
(b) Deposit.--An amount received as a refundable deposit, including a security deposit or a deposit which is to be applied as rent for future periods:
(1) shall be added to principal;
(2) shall be held subject to the terms of the lease; and
(3) is not available for distribution to a beneficiary until the trustee's contractual obligations have been satisfied with respect to that amount.