Dappy has removed a reference to the killer of headteacher Philip Lawrence from his new music video after facing a storm of criticism.
The film for his new single Tarzan 2 originally had the message "Free Leo Chindamo" in the opening credits.
Chindamo was jailed last year after breaching the terms of his licence by meeting a gang member, breaking a curfew and failing a breath test, it is understood. He was originally jailed for life with a minimum of 12 years after stabbing Mr Lawrence outside his school in west London.
A spokesman for Dappy said the film, which had more than 225,000 views on YouTube since it was uploaded on July 3, had been taken down and will be re-edited without the reference to Chindamo.
He added that the N-Dubz star will donate all his "personal royalties" from the track to crime reduction charity Nacro.
Dappy had earlier apologised and said he "honestly wasn't aware" of the high-profile crime which shocked the nation in December 1995.
He wrote: "I knew his brother from when I was young. In no way did I intend to cause upset and certainly didn't know about his past. My heart goes out to Mr Lawrence's family. I know too well the pain of losing a loved one, sincerely Dappy."