THIRD AMENDMENT TO SECOND AMENDED AND RESTATED MASTER COVENANT AGREEMENT