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, until bubbly around the edges, 30 to 40 minutes. Serve the dip warm from the oven with corn chips.