I am trying to create a basic Audit Trail/Log. Here is the below code to get a better understanding of what I am trying to accomplish.
const removePasswords = (ke