All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ʻalayhi wa sallam, is His Slave and Messenger.
These words are part of supplications mentioned in the Quran. Reciting them with the intention of invoking Allaah does not change the fact that they are part of the Quran. However, we do not say that the one saying them is reciting the Quran, so the rules pertaining to the Quran do not apply here.
Al-Fakhr Ar-Raazi said in his Tafseer in relation to the worshipper performing a prayer, “If it is said that when one says, "Enter it in peace" [Quran 15:46], and he intends to inform, it should not be considered Quran or Thikr. We say, it is of itself Quran. If one says it with the purpose of informing, intending to request and permit entry, it is not considered reciting the Quran, although the very words are part of the Quran.” [Mafaatih Al-Ghayb]
Allaah Knows best.