In the standard Artscroll Ashkenazik siddur, after wrapping the tefillin around one's fingers it says to say the following pesukim from Hoshea 2:21-22
וְאֵרַשְׂתִּיךְ לִי, לְעוֹלָם; וְאֵרַשְׂתִּיךְ לִי בְּצֶדֶק וּבְמִשְׁפָּט, וּבְחֶסֶד וּבְרַחֲמִים.
'וְאֵרַשְׂתִּיךְ לִי, בֶּאֱמוּנָה; וְיָדַעַתְּ, אֶת-ה.
The siddur haShelah says this comes from the Arizal. I did not find mention of it in the shulchan aruch, mishna berurah, nor in the writings of the Arizal (not in shaar hakavanot, olat tamid, pri eitz chaim, nor in his pirushim on nach). No source for this is mentioned in the siddur of R' Yaakov Emden, the Koren siddur, or Rav Kook's siddur though it is listed in all of them. These pesukim are not listed in the tehilat Hashem (Lubavitch) siddur.
My question is what is the source, halachic or otherwise, for saying these pesukim after putting on tefillin?