I think this is a safe bet. Perhaps C-3PO is going on a trojan horse type mission, and risks exposing the plot or plan of the rebellion if he gets caught. But how does he know how to execute the plan if he remembers nothing? Maybe they install a virus that gets uploaded into the First Order or Palapatine’s memory…