According to Article 214 of the "Criminal Law of the People's Republic of China":
Whoever knowingly sells goods with counterfeit registered trademarks and the sales amount is relatively large shall be punished The person shall be sentenced to fixed-term imprisonment of not more than three years or criminal detention, and shall also or solely be fined; if the sales amount is huge, he shall be sentenced to fixed-term imprisonment of not less than three years and not more than seven years, and shall also be fined.
Your friend has been involved in the case for a longer period of time and the amount of money involved is relatively large. According to the normal sentence, the sentence is 3 to 7 years. Since he is not the main person responsible, the relative penalty will be lighter.
According to what you said, if you surrender and explain the facts, the court will decide the sentence as appropriate!
Say something beyond words: Find some connections, find some favors, spend some money, push it if you can, and find a way to get it done! In China, this is a very normal method!