Get your taxes done using TurboTax

I have a new social security card for 2017 with his new legal name from March, in 2016 his social security card had his previous name, which name do i use?