Unfortunately, the Social Security Administration (SSA) does not adjust your earnings for a contribution made to a retirement account, including a traditional IRA.
While it will not help with the earning cap for social security purposes, a contribution to a traditional IRA may reduce your taxable income, and therefore your tax liability.