Thou shalt not take the name of the Lord thy God in vain; for the Lord will not hold him guiltless that taketh his name in vain.
We should not also profane or blaspheme things which are of the Word, or of the doctrine of faith, thus which are holy, and not hold them in derision, or debased them to unclean earthly things, and thus defiled them.
The word guiltless means no forgiveness unless one repents both in his understanding and of his will.
When one mention a name it represent the whole quality of that person, thus with The Lord it represents all that is holy, the things of love, mercy compassion, truth, order and many other qualities of The Lord.
Profanity is characterized by irreverence or contempt for God or sacred principles or things; or being irreligious.