A payment processor replaces a card number with a random surrogate value that has no mathematical relationship to it an…