The palaeontological term for lithified sediments representing the internal cast of a shell is "steinkern" (from the German "stein" for "stone" and "kern" for nucleus).
An "ichnofossil" (derived form the Greek "ikhno" for "trace") represents the biological activity of an organism, not the organism itself; such as a footprint/movement trace, a burrow, boring hole, feeding trace or whatever.