Drain the corn.
Finely chop the bell pepper and onion. Pat dry with paper towels.
In a small bowl, mix together the mayonnaise, sugar, and salt to taste. Set aside.
To a pan, add the butter. Heat it over medium-high heat. Once it’s heated, add the corn, bell pepper, and onion. Stir-fry until most of the liquid has evaporated.
Add the mayonnaise sauce. Give it a good stir. Top with a generous amount of shredded mozzarella cheese. Cover with a lid and cook until the cheese is completely melted. Enjoy!