Very interesting! Looks like what we call a "mole": a pearl that grows in the mantle but is expelled from the sac and attaches itself to the shell.
The black substance on the shell looks proteinic in nature...you may be able to dislodge it from the shell!