Cares Act 401k and 1099-R

I took a CARES Act withdrawal in 2020 and also age 55. I received a 1099-R with a "2" in box 7. No other codes on the form. Some of the money was transferred in from an old employer. I tried to repay a portion of the money this year and was told I cannot due to the Rule of 55. How would I indicate that on this years taxes?