Amended and Restated Registration Rights Agreement