In Star Wars Revenge of the Sith, C-3PO had his memory wiped. In the canon comic it turns out he actually still remembers many pieces of the prequels. It’s cool how he remembers bits of everything, like the Jedi Temple, Order 66, Clone Wars and so on.