(a) with respect to such lands granted to the United States of America by the state of New York shall revert to and vest in the state of New York;
(b) with respect to lands granted to the United States of America by any city, town or village or body politic or corporate, shall revert to such city, town or village or body politic or corporate.