Can I deduct mortgage interest of a refinanced loan which replaced a cash-out refinanced loan? 200K loan 180K for house 20K pay off debt. Refinance again 200K no cash.

Can I deduct the mortgage interest for the full 200K now that I refinanced the cash-out loan? The second refinance 200K loan was not a cash-out it was to just get a lower interest rate. This happened within the year 2020.