Begin by patting the shrimp very dry and seasoning them with salt and pepper. In a large (12-inch) skillet, heat the olive oil over medium-high heat. Add the shrimp and cook until they turn pink and develop a light golden color in spots, approximately 1 to 2 minutes per side. Use a slotted spoon to transfer the cooked shrimp to a plate. Next, add the tomatoes to the skillet, season them with salt and pepper, and cook, stirring only occasionally, until they begin to blister in spots, which should take around 3 to 4 minutes. Then, add the corn, season with salt and pepper again, and cook, stirring occasionally, until the tomatoes burst and the corn takes on a golden hue in spots, another 3 to 4 minutes. Finally, add the minced garlic and red-pepper flakes into the skillet and cook, stirring constantly, until the aroma of garlic fills the air, approximately 1 minute.
Lower the heat to medium and pour in the wine and lemon juice, ensuring to scrape any browned bits from the bottom of the pan. Allow the mixture to simmer until it's nearly evaporated, then add the butter and stir until fully melted. Return the cooked shrimp along with any accumulated juices to the skillet and stir until warmed through. If the sauce appears greasy, simply add 1 or 2 teaspoons of water and stir until it emulsifies.
Once done, remove the skillet from the heat and stir in the chopped herbs. Season the dish to your taste with salt and pepper. Serve hot, accompanied by extra lemon wedges for squeezing over the dish, if desired.