A study in "Nature" found the area of the brain most impacted by a COVID-19 infection is related to smell. How long the damage lasts isn't known.
Even a mild case of COVID can cause brain changes. It's too soon to know if the damage lasts.