President Nicolás Maduro of Venezuela is eager to rewrite his country’s Constitution, a plan that has ignited outrage among the opposition and condemnation from international watchdog groups.

But it was the rewriting of something else — the lyrics to the hit song “Despacito” — that drew condemnation this week, after the song’s creators saw footage of Mr. Maduro using an altered version of their song at one of his political events.

At a televised rally on Sunday, Mr. Maduro clapped along as the altered version of the song played in the background, with lyrics extolling his plans to overhaul the country’s Constitution.

According to Mr. Maduro, the new version of the song was produced by a group of “creative people,” and he wondered aloud if it would go viral. Video from the event, which was broadcast on the television station of the Venezuelan government, showed Mr. Maduro smiling as supporters in matching outfits swayed to the music.