When there's a problem with the employee not being paid, the root cause often goes back to the employer blocking the pay in the first place.
However, it turns out that "arms' length" doesn't mean the contractor can get away with absolutely anything.
Contractors cannot be at arms length. There has to be an arrangement with the employer (Google here) and the contracting firms to pay. That means there has to be a timesheet for each employee. Could be filled by either party.
You said your cousin wasn't paid because somebody (implying from Google Search) said she took too long and refused to pay her. To me that sounds like a normal story where Google had to approve the hours/pay and they didn't. The excuse from Google employees that they are detached is fishy at best, they wouldn't be able to prevent payment if they were.
The way contracting usually work is that the contractor must submit timesheets daily or weekly to a supervisor at the parent company. The supervisor must approve the timesheet. The contractor will be paid the hours in the timesheet.
The story is a classic example where the manager (google employees) refused to acknowledge the hours for no valid reasons, preventing contractors from being paid.
Gotta escalate to HR to get paid and fill formal complaints against the bad manager.