Where any property, vested in trustees by way of security, becomes, by virtue of the statutes of limitation, or of an order for foreclosure or otherwise, discharged from the right of redemption, it shall be held by them in trust—
Subsection (1) of this section operates without prejudice to any rule of law relating to the apportionment of capital and income between tenant for life and remainderman.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Where—
the trustees shall execute such a vesting deed.
This section applies whether the right of redemption was discharged before or after the first day of January, nineteen hundred and twelve, but has effect without prejudice to any dealings or arrangements made before that date.