Eating healthier for a while itself will reduce your palette for these foods, and make normal food taste better.
If you limit your sugar intake for a bit, American bread becomes quite the tasty treat.
It might not be direct action of the medication, but the medication making it easier to fix your habits can have huge dividends, similar to how giving an ADHD person stimulant meds make them less likely to die from misadventure or substance use because they self medicate less.