I had given my library card to someone in class but I don't seem to recall to whom I gave my card. According to information that I received from the library, someone has used it to issue x-book and the date to submit the book was 1st Feb.
or
I had given my library card to someone in class but I don't seem to recall to whom I have given my card. According to information that I have received from the library, someone has used it to issue x-book and the date to submit the book was 1st Feb.
What I want to say is that I gave my library card to someone in past-time (but the exact past time I do not remember) and I don't seem to recall to whom I gave my card.
What does the past perfect tense in the first line mean ?