Actually not to nit pick or sound perdantic, but Corn is actually a grain, and Peas are a Legume, as Peas grow in a Pod, not in the ground, or on a Bush.
So neither are Veggies really. People get Corn confused because sweet, baby or Cob Corn, doesn't look the same, when it's not in a box flaked, but they are both classed as starches though, and are moderate to high GI, but don't forget High GI, isn't high GL, unless the Carb amount in either is quite high, and you eat a load, actual impact on Bloodsugar is relatively low.
Actually Corn is also another good choice here, as Corn is a Lutein source.
Also Peas are a complimentary Protein.