Every grant or conveyance of real estate or of the rent derived therefrom, or of the reversion or remainder thereof, shall be good and effectual without the attornment of the tenant; but no tenant who, before notice of such grant or conveyance, shall have paid the rent to the grantor, shall be prejudiced or suffer any damage by such payment.
N.J.S. § 46:3-8