As a tenant you have a bundle of rights but first and foremost the lease you signed (if it is still in effect) will still be supported under all specified obligations. Your new landlords will be in touch with you to give you new payment instructions. Once your lease is up then you will need to chat with them about resigning another lease or finding another place.
If they recorded the sale then it will be public record. If they did not record it then it will harder to find.