In a medium bowl, mix the corn, chiles, cheeses, and mayonnaise until fully combined. Spread the mixture in the prepared casserole dish and bake, uncovered, for 30 to 40 minutes, or until bubbly around the edges. Serve the dip warm from the oven with corn chips.