Use fixed versions of dependencies
I've tried to run this lambda function and it was giving me the following error in runtime: module initialization error: importlib_metadata.
I figured out it was because pip was getting the newest versions of all dependencies and they were different from the versions used when this lambda function was created and tested. So, I fixed the dependencies versions and now the lambda function is working.