Method and system for contextual advertisement replacement utilizing automatic content recognition