Execution Version THIRD AMENDED AND RESTATED LOAN AGREEMENT