it's generally accepted that to kill off the bacteria quickly you need to get the internal temperature to 70c or higher, so provided you get the livers to 70c for a few minutes, you should have no problems and it should still be pink in the middle.