To be honest, when Old Tang saw the skill of Photographic Memory, his first reaction was happiness.
Lawyers need to remember so much, and the law isn't just about those statutes; those are just the basics. There are also various kinds of judicial interpretations, which are incredibly complex.
More specifically, there are rules and regulations from government departments, and sometimes there are individual provisions for each province. Although one doesn't need to remember them all, being able to do so is definitely advantageous.
What's more important is that Photographic Memory is an active skill, meaning it only works when one actively enables it.
On a regular basis, there's no worry about remembering things you wouldn't be able to.
After all, some rather distressing things really can contaminate your memory, and you wish you could immediately erase those things from your memory...