In a skillet over medium-high heat, add the olive oil. When the oil is warm, add the onion and saute until softened, about 3 minutes. Add the garlic and saute 1 minute more. Stir in the beef, cumin, curry, chili powder, allspice, thyme, cinnamon, and salt and pepper, to taste. Saute, stirring often, until the beef has browned, about 10 minutes. Add the corn and the Cheddar and set aside to cool.