b.Any city, town or village shall have the power to appropriate and spend money to demolish any unsafe structures, whether publicly or privately owned, and may remove debris from any property, whether publicly or privately owned, if the governing board of the municipality determines such structures or debris to be a peril to the lives and property of the citizens of the municipality, when such demolition or removal is necessitated because of attack, except that such expenditures shall not be made by a town within a city located in such town or by a town within a village located in whole or part in such town. Any expenditure for an object or purpose described in this subdivision by a political subdivision having power to contract indebtedness pursuant to the local finance law may be financed by the issuance of obligations pursuant to such law, from the proceeds of taxes raised for such purpose or from any available funds of the political subdivision. The period of probable usefulness of the objects and purposes for which any such expenditure may be made is determined to be ten years unless a longer period is prescribed by the local finance law. The provisions of section 107.00 of the local finance law shall not apply to the financing of any such object or purpose. Any provisions of law:
(1) Requiring the holding of hearings on or the publication of notices in relation to the effectuation of any such purpose or work or the financing thereof,(2) Requiring that the effectuation of any such purpose or work or the financing thereof be subject to a vote at any election, to a mandatory or permissive referendum, or to the voting of a tax to be collected in one or more installments,(3) Requiring that the effectuation of any such purpose or work or the financing thereof be initiated only upon petition,(4) Permitting the issuance of obligations only after the completion of the effectuation of any such purpose or work or the levy of assessments therefor,(5) Requiring the approval of any public board or body other than the governing board or the finance board, for the effectuation of any such purpose or work or the financing thereof, the advertisement for bids or the letting of contracts therefor after competitive bidding, and any other provisions of law insofar as they tend to prevent, hamper or delay the effectuation of any such purpose or work or the financing thereof, shall be inoperative for the purposes of this subdivision, except that the provisions of sections 57.00, 58.00, 59.00, 60.00, 60.10, 60.20, 63.00, 81.00, 82.00, 83.00, 102.00, 104.00, 104.10, other than subdivision one thereof, 109.00, 150.00, 151.00, 152.00 and 165.10 of the local finance law shall continue to be applicable to the financing thereof when obligations are issued. Notwithstanding the fact that the effectuation of any such purpose or work may be required pursuant to law to be undertaken wholly or partly at the expense of the real property especially benefited thereby, it may be undertaken at the expense of the political subdivision at large without charging any part of the cost thereof to real property especially benefited.