Leave the corn in its husks and peel back just enough to remove the silk threads. Gently pull the husks back into place.
Mix softened butter with salt, pepper, and your choice of herbs in a small bowl until well combined. Add garlic powder and smoked paprika if using.
Pull back the husks partially (without detaching), remove as much silk as possible, then spread about 1 tablespoon of your flavored butter mixture evenly over each ear of corn.
Fold the husks back over the corn, then wrap each ear tightly in aluminum foil. Double-wrap any ears with torn husks to prevent moisture loss.
Place the wrapped ears on a preheated medium-high grill (approximately 375-400°F). Close the lid and cook for 15-20 minutes, turning every 5 minutes to ensure even cooking.
The corn is done when it feels tender when squeezed gently with tongs. Remove from grill, carefully unwrap (watch for hot steam), and serve immediately.