The judges who oversaw court proceedings about Sara Sharif's care before she was murdered have "serious concerns" about the risks to them and their families if they are now named, the Court of Appeal has been told.