SECOND AMENDMENT TO AMENDED AND RESTATED PROGRAM AGREEMENT