It depends on the loan program you are qualifying for, and if they would include payments on deferred/in forebarance student loans or not... since you already have a specific program in mind, the most accurate answer will be from the lender you are applying with. If they do include them in your debt ratio, then consolidating them into a lower payment would lower your debt to income ratio. There are plenty of programs that would be fine with a DTI around 45% though.
Free Mortgage Advice & Pre-Approvals (FHA, VA, USDA, Fannie, Freddie, Non-Prime, Construction, Renovation/Rehab, Commercial) since 2002
Mortgage Broker located in Southern California and lending in all 50 states
Reach out anytime!