Nothing except the code itself ever leaves your device. Your pen pal will only see that the code has been confirmed, nothing else.
The history of codes is only saved inside your browser.
If this is a shared device, you can remove all code history (both sent and received) from this browser.