Removed unnecessary imports and unused variables.
Changed json.loads() to json.load() when reading the local state file. Simplified the process of extracting the secret key. Simplified the decryption process using AES cipher. Removed unnecessary print statements and improved their formatting. Removed unnecessary encoding parameter in the csv.writer() function.
Removed unnecessary imports and unused variables. Changed json.loads() to json.load() when reading the local state file. Simplified the process of extracting the secret key. Simplified the decryption process using AES cipher. Removed unnecessary print statements and improved their formatting. Removed unnecessary encoding parameter in the csv.writer() function.