Any sums received by the prime contractor as payment for work, services, equipment, and materials supplied by the remote contractor for improvements to real property must be held by the prime contractor in trust for the benefit and use of the remote contractor, and are subject to all legal and equitable remedies.