Section 2D. Any action brought by or on behalf of any county, city, town, regional school district, housing authority or the commonwealth or any other political subdivision thereof to recover any costs associated with asbestos related corrective actions including, but not limited to, the removal and replacement of asbestos and materials containing asbestos shall be commenced only within six years next after such county, city, town, regional school district, housing authority or the commonwealth or any other political subdivision thereof knew of the presence of and the hazard or damage caused by the presence of such asbestos or material containing asbestos within its buildings.