Transient response in a piezoelastic medium due to the influence of magnetic field with memory-dependent derivative