Trouble codes only tells you something is wrong with the circuit connected to that component and does not necessarily mean the component is faulty. It could be a fuse, a loose wire connector or a broken wire. To be sure you need to perform diagnostics to confirm.
We need the EXACT codes to know the problem and provide you with possible causes.
Autozone is a parts store and the people who attended to you are most probably not mechanics who can perform diagnostics. Whatever information they have for you is only based on what they can read from the scan tool.