(a) Unredeemed property in the area of the borough outside all cities is deeded to the borough by the clerk of the court. Unredeemed property in a city is deeded to the city subject to the payment by the city of unpaid borough taxes and costs of foreclosure levied against the property before foreclosure. The deed shall be recorded in the recording district in which the property is located.
(b) Conveyance gives the municipality clear title, except for prior recorded tax liens of the United States and the state.
(c) If unredeemed property lies in a city and if the city has no immediate public use for the property but the borough does have an immediate public use, the city shall deed the property to the borough. If unredeemed property lies in the borough outside all cities and if the borough does not have an immediate public use for the property but a city does have an immediate public use, the borough shall deed the property to the city.
(d) A deed is not invalid for irregularities, omissions, or defects in the proceedings under this chapter unless the former owner has been misled so as to be injured. Two years after the date of the deed, its validity is conclusively presumed and a claim of the former owner or other person having an interest in the property is forever barred.