AMs gave their support on Tuesday 26th February to a new law for 999 staff.
Labour MP Chris Bryant wants to double the maximum sentence for common assault on an emergency worker to a year.
The Rhondda MP said there were 20 such assaults in Wales a day.
AMs unanimously agreed on Tuesday that the Parliamentary legislation, which has been given support by the UK and Welsh governments, can apply to assaults on workers in the Welsh NHS and fire services.
Under existing rules, AMs have to give consent to legislation from Parliament that applies to powers which are devolved to the Welsh Assembly and the Welsh Government.
In this case, the Welsh Government tabled the motion because the law affects the NHS and fire and rescue services, which are devolved.
A police officer who was surrounded by a gang and beaten unconscious has said he would welcome changes to the law to give emergency workers more protection.
James Dowler was a uniform officer for South Wales Police when he tried to stop a suspicious driver.
He had his eyes gouged by a female passenger, before being punched in the face. Three of the car occupants were later jailed for the attack.