Amended and Restated Registration Rights and Lock-Up Agreement