AMENDMENT NO. 17 TO THE AMENDED AND RESTATED MASTER DISTRIBUTION AGREEMENT