Yes it is included in your refund or reduced the tax due.
If you had more than one employer and the total of box 4 (only box 4 not box 6) on all your 2019 W2s for Social Security is more than $8,239.80 you get the excess back on your tax return. And it is for each spouse separately, not combined. Check 1040 Schedule 3 line 11 for it. Then Schedule 3 goes to 1040 line 18d.