Nope. The length remains the same. 10 years for public service (not-for-profits, gov employees) 20 or 25 years depending on the program.
What is effected will be the tax amount owed at the time of forgiveness. Basically reducing the total amount forgiven by 10 or 20k, which will most likely be a taxable event.
So someone that has 100k forgiven after 10 or 20 years of payments will then owe roughly 30k in taxes, which you can make a plan to pay off to the IRS over 6 years.
So if they had 20k forgiven, the taxable amount would be 80k, or a roughly 24k tax bill.