Yes, as long as Social Security has Doedoe Onehundred Twohundred shown as the "last" name...usually (on newer cards) the "last" name is on line 2 of the SS card.
When someone has multiple middle or last names, sometimes Social Security has the wrong name showing as "last".
If the SS card shows
Janejane Doedoe <-- line 1
Onehundred Twohundred <-- line 2
then Onehundred Twohundred is the "last" name.