If it is part of the wiper motor, you'll need to by a rebuilt wiper motor.
https://www.rockauto.com/en/catalog/buick,1995,riviera,3.8l+v6,1022027,wiper+&+washer,wiper+motor,8824
According to the buyers guide, that motor fit a lot of GM vehicles,
BUICK ELECTRA 1987-1990
BUICK LESABRE 1987-1999
BUICK PARK AVENUE 1991-1996
BUICK REATTA 1988-1991
BUICK RIVIERA 1988-1999
BUICK ROADMASTER 1991-1996
BUICK SKYLARK 1988-1998
CADILLAC 60 SPECIAL 1993
CADILLAC ALLANTE 1990-1993
_________________
98 Riviera SC3800 All stock except gutted air box.
1970 Buick GS455 Stage1, TSP built 470BBB, 602HP/589TQ
Best MPH, 116.06 MPH, Best ET, 11.54
https://www.youtube.com/watch?v=UHCda-t_Jls
https://www.youtube.com/watch?v=sfT2tEO4XcU