THIRD AMENDED AND RESTATED RECEIVABLES PURCHASE AGREEMENT AND AMENDMENT NO. 5 TO THIRD AMENDED AND RESTATED PURCHASE AND CONTRIBUTION AGREEMENT