On your return, enter the name as it appears on your social security card. It won't matter that your name is different on the W-2s. The IRS will match them by your social security number.
You have clicked a link to a site outside of the TurboTax Community. By clicking "Continue", you will leave the Community and be taken to that site instead.