The quarterback agreed to a restructured deal to remain in San Francisco for 2022.