Amnesia as a Catalyst for Enhancing Black Box Pixel Attacks in Image Classification and Object Detection