In a case under the preceding paragraph in which the prime contractor has by written contract had a subcontractor assume responsibility for the compensation, the subcontractor shall also be regarded as the employer; however, two or more subcontractors may not each be required to assume responsibility for compensation with respect to the same undertaking.