https://www.etymonline.com/word/vain
The expression comes from the phrase “in vain” which restores the original meaning of the noun vain away from the conceited meaning and more towards the vacuous sense. So if you’re taking God’s name in vain, it’s using God’s name needlessly.
That’s the dumbest and most beautiful premise for naming a place that I’ve seen