Once a contractor has made payment to the subcontractor according to the payment terms of the construction contract or the provisions of this act, future claims for payment against the contractor by parties owed payment from the subcontractor which has been paid shall be barred.
73 P.S. § 516