what was the name of the god who guarded the livers canopic jar

Check this site.

http://www.kingtutshop.com/freeinfo/Canopic-Jars.htm

The god who guarded the liver's canopic jar in ancient Egyptian mythology was Imsety. Imsety was one of the four Sons of Horus, who were tasked with protecting the internal organs of the deceased during the mummification process.

To find this information, you can start by searching for "ancient Egyptian canopic jars" or "Sons of Horus." This will lead you to various reliable sources like books, articles, or reputable websites that discuss Egyptian mythology and burial practices. These sources will provide you with the necessary information on Imsety and his role in safeguarding the liver's canopic jar.