THIRD AMENDED AND RESTATED EXCHANGE AND REGISTRATION RIGHTS AGREEMENT