You're likely thinking of "Make It Shine" from Victorious. It's a pop song performed by the full cast—including Trina Vega (Daniella Monet) and Cat Valentine (Ariana Grande)—not a rap.
There are no scenes where Trina and Cat rap together. They perform "Make It Shine" in several episodes as part of the ensemble.