Exhibit B FORM OF Amended and Restated REGISTRATION RIGHTS AGREEMENT