477. Whoever fraudulently or dishonestly, or with intent to cause damage or injury to the public or to any person, cancels, destroys or defaces, or attempts to cancel, destroy, or deface, or secretes, or attempts to secrete, any document which is or purports to be a will, or an authority to adopt a son, or any valuable security, or commits mischief in respect to such document, shall be punished with imprisonment for a term which may extend to twenty years, and shall also be liable to fine.