Wondering About ‘Leshem Yichud’ Before Kiddush

Those who recite Leshem Yichud say this before Kiddush:

לשם יחוד… הריני מוכן ומזומן לקים מצות עשה לקדש על היין, כדכתיב זכור ושמור, זכרהו על היין.

But shouldn’t it be “כדדריש”, instead of “כדכתיב”?

Perhaps the original version was just “כדכתיב זכור ושמור”, and then the ending was added. I haven’t checked.