Text this: Attenuation of stress waves for alleviating failures in structures