The solution is to not view homework as an end unto itself, which when I was in school was def the case. When someone takes tests, or is called upon in class, if they have used ChatGPT and not learned the material themselves, they will do poorly.