(b) In case any worker shall have filed a protest in writing within three months from the date of the occurrence of the incident complained of with the commissioner, objecting to the payment to any contractor to the extent of the amount or amounts due or to become due to the worker for wages for work performed on a public work, the commissioner may direct the fiscal or financial officer of the public body or other person charged with the custody and disbursements of the funds of the public body, the lessee to whom the public body is leasing a property or premises or the lessor from whom the public body is leasing or will be leasing a property or premises, as the case may be, to deduct from the whole amount of any payment, the sum or sums admitted by any contractor in such statement or statements so filed to be due and owing by him on account of wages earned on such public work. Such fiscal or financial officer, the lessee to whom the public body is leasing a property or premises or the lessor from whom the public body is leasing or will be leasing a property or premises, shall withhold the amount so deducted for the benefit of the worker whose wages are unpaid as shown by the verified statement filed by such contractor, and shall pay directly to any worker the amount shown by such statement to be due to him for such wages. Such payment shall thereby discharge the obligation of the contractor to the person receiving such payment to the extent of the amount thereof.