owing to any person, including the United States, who by the laws of the United States in (is) entitled to priority, and rent owing to a landlord who is entitled to priority by applicable State law: Provided, however, That such priority for rent to a landlord shall be restricted to the rent which is legally due and owing for the actual use and occupancy of the premises affected, and which accrued