Discuss : 10 year treasury future to hedge 7 year liability

When we are using 10 year future, is there any adjustment we do that replicates it to act or hedge a 7 year liability.

I get the conversion factors but those do not seem to account for difference in maturity.

Duration matching?

Think so. Like there is a liability of 7 years, so when you do hedge with 10 year IRF, there is mismatch especially when it comes to yield curve changes (non parallel or change in yields uneven over the maturity line). Conversion factors (“CF”) don’t seem to account this mismatch in maturity, atleast from what I understand. Does CF account for this?