Liberty man faces up to 10 years in state prison for gun and drug charges