Both examples use the subjunctive mood case, which we use to express wishes, polite requests, and hypothetical situations.
The sentence using "would have" indicates that the event occurred in the past and in a similar situation, the speaker would remember the information in question.
The sentence using "would remember" only indicates a hypothetical event in the future.