(a) Except as provided in subdivision (b), provisions, clauses, covenants, and agreements contained in, collateral to, or affecting any construction contract and amendments thereto entered into on or after January 1, 2013, that purport to insure or indemnify, including the cost to defend, a general contractor, construction manager, or other subcontractor, by a subcontractor against liability for claims of death or bodily injury to persons, injury to property, or any other loss, damage, or expense